package org.hecf.demo.user.service;

import com.alibaba.fastjson.JSONObject;
import org.hecf.demo.user.entity.User;

import java.util.List;

public interface IUserService {

    int deleteByPrimaryKey(Integer id);

    int insert(User user, JSONObject jsonObject) throws Exception;

    JSONObject insert(List<User> users) ;

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

}
